//
//  EventsTableDataViewController.h
//  PartyAnimal
//
//  Created by Hilary Muludiang on 3/21/12.
//  Copyright 2012 Muludiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@class EventDetailsViewController;

@interface EventsTableDataViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
	IBOutlet UITableView *eventsTableDataView;
	NSMutableArray *eventsTableData;
	EventDetailsViewController *eventDetailsViewController;
	NSArray *weeksCounter;
	
	UIView *contentView;

}

@property(nonatomic,retain) NSMutableArray *eventsTableData;
@property(nonatomic,retain) IBOutlet UITableView *eventsTableDataView;
@property(nonatomic,retain) EventDetailsViewController *eventDetailsViewController;
@property(nonatomic,retain) NSArray *weeksCounter;
@property(nonatomic,retain) IBOutlet UIView *contentView;

-(void)buildEventsData;
-(void)refreshEventsData;
-(IBAction)findCloseEvents:(UIBarButtonItem *)sender;
-(IBAction)submitEvent:(UIBarButtonItem *)sender;
-(void)hideBanner:(UIInterfaceOrientation)toInterfaceOrientation;

@end